package com.teach.demo03;

/**
 * <pre>
 * -
 * Author : J.L.Zhou
 * E-Mail : 2233875735@qq.com
 * Tel : 151 1104 7708
 * Date : 2021-04-06 15:25
 * Version : 1.0
 * Copyright 2021 jlzhou.top Inc. All rights reserved.
 * Warning: this content is only for internal circulation of the company.
 *          It is forbidden to divulge it or use it for other commercial purposes.
 * </pre>
 **/
public interface IShape {
  public static final float PI = 3.1415927f;
//  protected static final float A1= 1f;//只能是public
  float A2 = 1f;//默认:public static final

  public abstract void input();
//  protected abstract void show();//只能是public
//  void show();//默认:public abstract
    default void show(){//1.8+
      System.out.println("默认的实现方法");
    }

  //public IShape(){ }//没有构造方法
}
